package com.enjoy.studyfragment.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Author:enjoy
 * Time:2018/3/23   17:35
 * Description:This is Booke
 */
public class Booke implements Serializable {

    /**
     * code : 200
     * result : {"cid":"dc4bb888c4ab78fe498224fad55c1b20","classList":[{"class_id":4,"class_name":"初三（3）班","class_no":"Zq9699","grade":"2015","head_path":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/headImg/IMG_20180322_182542.jpg?x-oss-process=style/adviceHeadImg","role_name":"教师","role_type_id":4,"school_name":"希望小学","user_id":107,"user_name":"黄教授"}],"class_id":4,"create_date":null,"head_path":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/headImg/IMG_20180322_182542.jpg?x-oss-process=style/headImg","head_url":"","id":107,"is_inform":1,"openid":"","pwd":"","role_id":0,"role_type_id":4,"school_id":0,"sex":1,"token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMDciLCJpYXQiOjE1MjE3OTM0OTMsImV4cCI6MTUyMjM5ODI5M30.zWLpQwwB2aYW9T3YTZCLsttq5a56fwJeLKtt6xSmXcI","user_name":"黄教授","user_no":"17710428336"}
     */

    private int code;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable{
        /**
         * cid : dc4bb888c4ab78fe498224fad55c1b20
         * classList : [{"class_id":4,"class_name":"初三（3）班","class_no":"Zq9699","grade":"2015","head_path":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/headImg/IMG_20180322_182542.jpg?x-oss-process=style/adviceHeadImg","role_name":"教师","role_type_id":4,"school_name":"希望小学","user_id":107,"user_name":"黄教授"}]
         * class_id : 4
         * create_date : null
         * head_path : https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/headImg/IMG_20180322_182542.jpg?x-oss-process=style/headImg
         * head_url :
         * id : 107
         * is_inform : 1
         * openid :
         * pwd :
         * role_id : 0
         * role_type_id : 4
         * school_id : 0
         * sex : 1
         * token : eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMDciLCJpYXQiOjE1MjE3OTM0OTMsImV4cCI6MTUyMjM5ODI5M30.zWLpQwwB2aYW9T3YTZCLsttq5a56fwJeLKtt6xSmXcI
         * user_name : 黄教授
         * user_no : 17710428336
         */

        private String cid;
        private int class_id;
        private Object create_date;
        private String head_path;
        private String head_url;
        private int id;
        private int is_inform;
        private String openid;
        private String pwd;
        private int role_id;
        private int role_type_id;
        private int school_id;
        private int sex;
        private String token;
        private String user_name;
        private String user_no;
        private List<ClassListBean> classList;

        public String getCid() {
            return cid;
        }

        public void setCid(String cid) {
            this.cid = cid;
        }

        public int getClass_id() {
            return class_id;
        }

        public void setClass_id(int class_id) {
            this.class_id = class_id;
        }

        public Object getCreate_date() {
            return create_date;
        }

        public void setCreate_date(Object create_date) {
            this.create_date = create_date;
        }

        public String getHead_path() {
            return head_path;
        }

        public void setHead_path(String head_path) {
            this.head_path = head_path;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getIs_inform() {
            return is_inform;
        }

        public void setIs_inform(int is_inform) {
            this.is_inform = is_inform;
        }

        public String getOpenid() {
            return openid;
        }

        public void setOpenid(String openid) {
            this.openid = openid;
        }

        public String getPwd() {
            return pwd;
        }

        public void setPwd(String pwd) {
            this.pwd = pwd;
        }

        public int getRole_id() {
            return role_id;
        }

        public void setRole_id(int role_id) {
            this.role_id = role_id;
        }

        public int getRole_type_id() {
            return role_type_id;
        }

        public void setRole_type_id(int role_type_id) {
            this.role_type_id = role_type_id;
        }

        public int getSchool_id() {
            return school_id;
        }

        public void setSchool_id(int school_id) {
            this.school_id = school_id;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getUser_no() {
            return user_no;
        }

        public void setUser_no(String user_no) {
            this.user_no = user_no;
        }

        public List<ClassListBean> getClassList() {
            return classList;
        }

        public void setClassList(List<ClassListBean> classList) {
            this.classList = classList;
        }

        public static class ClassListBean implements Serializable{
            /**
             * class_id : 4
             * class_name : 初三（3）班
             * class_no : Zq9699
             * grade : 2015
             * head_path : https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/headImg/IMG_20180322_182542.jpg?x-oss-process=style/adviceHeadImg
             * role_name : 教师
             * role_type_id : 4
             * school_name : 希望小学
             * user_id : 107
             * user_name : 黄教授
             */

            private int class_id;
            private String class_name;
            private String class_no;
            private String grade;
            private String head_path;
            private String role_name;
            private int role_type_id;
            private String school_name;
            private int user_id;
            private String user_name;

            public int getClass_id() {
                return class_id;
            }

            public void setClass_id(int class_id) {
                this.class_id = class_id;
            }

            public String getClass_name() {
                return class_name;
            }

            public void setClass_name(String class_name) {
                this.class_name = class_name;
            }

            public String getClass_no() {
                return class_no;
            }

            public void setClass_no(String class_no) {
                this.class_no = class_no;
            }

            public String getGrade() {
                return grade;
            }

            public void setGrade(String grade) {
                this.grade = grade;
            }

            public String getHead_path() {
                return head_path;
            }

            public void setHead_path(String head_path) {
                this.head_path = head_path;
            }

            public String getRole_name() {
                return role_name;
            }

            public void setRole_name(String role_name) {
                this.role_name = role_name;
            }

            public int getRole_type_id() {
                return role_type_id;
            }

            public void setRole_type_id(int role_type_id) {
                this.role_type_id = role_type_id;
            }

            public String getSchool_name() {
                return school_name;
            }

            public void setSchool_name(String school_name) {
                this.school_name = school_name;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }
        }
    }
}
